package org.wanda.pv.service.file;

import org.wanda.pv.model.business.Mark;
import org.wanda.pv.model.file.FileUploadInfo;
import org.wanda.pv.service.BaseService;

import java.util.Map;

public interface FileUploadService extends BaseService<FileUploadInfo> {

    //public List<FileUploadInfo> upload(String );

    public Map<String, Object> pdf2Thumbnail(String url) throws Exception;
    public Map<String, Object> pdf2Thumbnail_(String filePath) throws Exception;



    public Map<String,Object> pdf2jpg(String url)throws Exception;
    public Map<String, Object> pdf2jpg_(String filePath) throws Exception;

    public Map<String, Object> upload_(String path) throws Exception;
    public Map<String,Object> upload(String imgUrl)throws Exception;

    public void deleteFile(Long fid);

    Long base64ToJpg(String img);

    public String getPath();
    public String getBasePath();

}
